import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        System.out.println("  *  ");
        System.out.println(" *** ");
        System.out.println("*****");
        System.out.println("你好，张三");
    }



//    //利用下列求ex的近似值：
//    //ex=1+x/1!+x2/2!+x3/3!+……+xn/n!
//
//    public static int jiec (int k)
//    {
//        if(k==1)
//            return  k;
//        else
//            return k*jiec(k-1);
//    }
//    public static double jis(double m) {
//        double su = 1;
//        for (int i = 1; i < 10; i++) {
//            su += Math.pow(m, i) / jiec(i);
//        }
//        return su;
//    }
//    public static void main(String[] args) {
//        System.out.println("利用公式求e^x的近似值");
//        for (double r = 0.2; r <= 1.0 ; r+=0.2) {
//            double sum=jis(r);
//            System.out.println(String.format("x = %.1f：e^x=%.6f",r,sum));
//        }
//    }


//利用下列求ex的近似值
// ex=1+x/1!+x2/2!+x3/3!+……+xn/n!
//    public static int jiec( int a) {      //求阶乘
//        int n = 1;
//        while (a > 0) {
//            n *= a;
//            a--;
//        }
//        return  n;
//    }
//    public static double jis(double a) {  //求近似值
//        int n = 1;
//        double sum = 1;
//        while (true) {
//            int i = jiec(n);
//            sum += Math.pow(a, n) / i;
//            if (n >= 10)
//                break;
//            n++;
//        }
//        return sum;
//    }
//    public static void main(String[] args) {
//        System.out.println("利用公式求e^x的近似值");
//        Scanner input = new Scanner(System.in);
//        double x;
//        for (x = 0.2; x <= 1.0; x += 0.2) {
//            double sum = jis(x);
//            System.out.print(String.format("x = %.1f", x));
//            System.out.print(": " + "e^x = ");
//            System.out.println(String.format("%.6f", sum));
//        }
//    }


    //
    public static void main11(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n1 = scan.nextInt();
        int n2 = scan.nextInt();
        int n3 = scan.nextInt();
        //int ret = max_two(n1,n2);
        //int ret = max_three1(n1,n2,n3);
        int ret = max_three2(n1,n2,n3);
        System.out.println(ret);
    }
    public static int max_two(int num1,int num2){
       return num1>num2?num1:num2;
    }
    public static int max_three1(int num1,int num2,int num3){
        return max_two((max_two(num1,num2)),num3);
    }
    public static int max_three2(int num1,int num2,int num3){
        int tem = num1>num2?num1:num2;
        return tem>num3?tem:num3;
    }
    //


    public static void main9(String[] args) {
        int x=1,y=1,z=1;
        if(--x==0&&y++==1||z++==1){
            System.out.println("x="+x+",y="+y+",z="+z);
        }

    }



    //乘法口诀表
    public static void main10(String[] args) {
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print(j+"*"+i+" ");
            }
            System.out.println();
        }
    }


    //求长整数各数字之和
    public static void main8(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入一个长整数");
        int n = scan.nextInt();
        int sum = 0;
        while(n>0){
            sum+=n%10;
            n/=10;
        }
        System.out.println(sum);
    }


    //3-50之间的素数
    public static void main7(String[] args) {
        int j = 0;
        for (int i = 3; i <= 50; i++) {
            for (j = 2; j < i; j++) {
                if(i%j == 0){
                   break;
                }
            }
            if(j == i){
                System.out.println(i+"是素数");
            }
        }
    }


    //n等于多少时不等式大于6
    public static void main6(String[] args) {
        double sum = 0.00;
        for (int i = 1; i < 10000; i++) {
            sum = sum+1.0/i;
            if(sum > 6){
                System.out.println(i);
                break;
            }
        }
    }


   //求解一元二次方程
    public static void main5(String[] args) {
        Scanner s = new Scanner(System.in);
        double a = s.nextDouble();
        double b = s.nextDouble();
        double c = s.nextDouble();
        double d = b*b-4*a*c;
        if(d>=0){
            double e = (b*(-1)+Math.sqrt(d))/2.0*a;
            double f = (b*(-1)-Math.sqrt(d))/2.0*a;
            System.out.println(e);
            System.out.println(f);
        }else{
            System.out.println("无效的方程");
        }
    }


    //判断奇偶
    public static void main4(String[] args) {
        Scanner s = new Scanner(System.in);
        int m = s.nextInt();
        if(m%2==0){
            System.out.println("even");  //偶数
        }else{
            System.out.println("odd");   //奇数
        }
    }


    //输入实数，输出其与整数部分之差
    public static void main3(String[] args) {
        System.out.println("请输入一个实数：");
        Scanner scan = new Scanner(System.in);
        double m = scan.nextDouble();
        int k = (int)m;
        System.out.println(m-k);
        System.out.printf("%.4f",m-k);
    }


    //输入长和宽，求解周长和面积
    public static void main2(String[] args) {
        Scanner s = new Scanner(System.in);
        System.out.println("请分别输入矩形的长和宽并用空格隔开");
        int a = s.nextInt();
        int b = s.nextInt();
        System.out.println("矩形周长为"+2*(a+b));
        System.out.println("矩形面积为"+a*b);
    }


    //三个数中的最大数
    public static void main1(String[] args) {
        Scanner s = new Scanner(System.in);
        System.out.println("请输入三个数并用空格隔开");
        int a = s.nextInt();
        int b = s.nextInt();
        int c = s.nextInt();
        int m=a>b?a:b;
        m=m>c?m:c;
        System.out.println("最大数为="+m);
    }
}
